package com.example.qt.ptplatform.entity;

public class TorrentMapping {
    private Integer id;               // 主键ID
    private Integer torrentId;        // 数据库中的 torrentId
    private String qbittorrentHash;   // qBittorrent 中的种子哈希值

    // 构造函数
    public TorrentMapping(Integer torrentId, String qbittorrentHash) {
        this.torrentId = torrentId;
        this.qbittorrentHash = qbittorrentHash;
    }

    // Getters 和 Setters
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTorrentId() {
        return torrentId;
    }

    public void setTorrentId(Integer torrentId) {
        this.torrentId = torrentId;
    }

    public String getQbittorrentHash() {
        return qbittorrentHash;
    }

    public void setQbittorrentHash(String qbittorrentHash) {
        this.qbittorrentHash = qbittorrentHash;
    }
}
